package com.shawn.model.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author shawn
 * @date 2022年 12月 19日 17:29
 * 行业分布top10
 */
@Data
public class IndustryDistribution implements Serializable {
    private String title;
    private Integer amount;

    public static IndustryDistribution init(String title){
        IndustryDistribution industryDistribution = new IndustryDistribution();
        industryDistribution.setTitle(title);
        industryDistribution.setAmount(0);
        return industryDistribution;
    }
}
